package com.java2007.service;



import com.java2007.pojo.Admin;

import java.sql.SQLException;

/**
 * 用户业务层
 */
public interface AdminService {
    /**
     * 登录业务
     * @param adminName
     * @param password
     * @return
     */
    Admin login(String adminName, String password) throws SQLException;
}
